<h1>Add a  New Post</h1>
<%= form_for @student do |f|%>
	<p>
		<%= f.label :code %><br />
		<%= f.text_field :code %>
	</p>
	<p>
		<%= f.label :name %><br />
		<%= f.text_field :name %>
	</p>
	<p>
		<%= f.label :class_name %><br />
		<%= f.text_field :class_name %>
	</p>
	<p>
		<%= f.submit "Add a New Student"%>
	</p>
<%end%>
